<?php
$loginMsg = '';

$cookietime = time() + 3600;
$username = isset($_POST['username']) ? $_POST['username'] : '';
$password   =isset($_POST['password']) ? md5($_POST['password']) : '';

require_once('../model/class.login.php');
$qiLogin = new qiLogin($DB);

if(!empty($username))
{
$qiLogin->userLoginAdmin($username,$password);
}

?>
